﻿using Microsoft.EntityFrameworkCore;
using Basefr.Core.Auditings.Entities;

namespace Basefr.Data.EntityFrameworkCore
{
    public class AuditingDbContext : DbContext<AuditingDbContext>
    {
        public AuditingDbContext() : base(new DbContextOptionsBuilder<AuditingDbContext>().Options)
        {

        }

        public AuditingDbContext(DbContextOptions<AuditingDbContext> options) : base(options)
        {

        }

        public virtual DbSet<AuditLog> AuditLogs { get; set; }
        public virtual DbSet<AuditLogFailed> AuditLogFaileds { get; set; }
    }
}
